package com.supermarket.demo1.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 地址实体类
 * 添加set get方法
 *
 */
@Data  //四个注解的集合 @setter @getter @toString @equals
@NoArgsConstructor // 无参构造
@AllArgsConstructor  //有参构造
public class Address {

    private int id;
    private String contact;
    private String addressDesc;
    private String postCode;
    private String tel;
    private int createdBy;
    private String creationDate;
    private int modifyBy;
    private String modifyDate;
    private int userId;
}
